{extend name="common/base" }

{block name="content"}
<div class="am-g">
	<div class="am-u-sm-12">
		<form class="am-form ajax-form" method="post" action="{:url('edit', ['id' => $_id])}">
		
			{$widget->form('text', ['title' => '群组名称', 'name' => 'group_name', 'value' => $_record['group_name']])}
		
			{$widget->form('select', ['title' => '上级群组', 'name' => 'group_gid', 'value' => $_record['group_pid'], 'list' => $select_group_list])}
			
			{$widget->form('textarea', ['title' => '群组说明', 'name' => 'group_info', 'value' => $_record['group_info']])}
			
			{$widget->form('text', ['title' => '群组排序', 'name' => 'group_sort', 'value' => $_record['group_sort']])}
			
			{$widget->form('submit', ['title' => '用户操作'])}
			
		</form>
	</div>
</div>
{/block}